package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.RecommendUser;
import com.tanhua.domain.vo.PageResult;

public interface RecommendUserApi {
    //根据用户的id查询缘分值最高的用户
    RecommendUser queryWithMaxScore(long userId);

    //查询用户的推人分页对象
    PageResult queryRecommendation(Integer page, Integer pagesize, long userId);

    //查询用户与推荐用户的缘分值
    long queryScore(long userId, Long recommendUserId);
}
